<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>\H child argument</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.1/css/all.min.css" integrity="sha512-9my9Mb2+0YO+I4PUCSwUYO7sEK21Y0STBAiFEYoWtd2VzLEZZ4QARDrZ30hdM1GlioHJ8o8cWQiy8IAb1hy/Hg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>@import "dist/ourbigbook.css";

</style>
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<header>
<a href="/">Ciro Santilli???</a>
<a href=".">Ourbigbook!!!</a>
<a class="font-awesome-container" href="https://github.com/cirosantilli/ourbigbook"><i class="fab fa-github fa-fw"></i></a>
</header>
<main class="ourbigbook">
<div><span class="hide-hover"><a href=".#h-child-argument"><span class="fa-solid-900"></span></a></span><div class="h" id="h-child-argument"><h1><a href="" title="link to this element"><code>\H</code> <code>child</code> argument</a></h1>
<span class="hover-meta"> <span class="sep"></span><a title="view all headers in a single page" href=".#h-child-argument"><span class="fa-solid-900"></span> nosplit</a><span class="sep"></span><a href=".#h-arguments" title="parent header"><span class="fa-solid-900"></span> "<code>\H</code> arguments"</a><span class="sep"></span><span class="metrics"><span title="word count for this node + all descendants"><span class="fa-regular-400"></span> words: <span class="word-count-descendant">118</span></span></span></span></div><nav class="h-nav h-nav-toplevel"><div class="nav"> <span title="tags" class="fa-solid-900"></span> tags: <a href=".#boolean-argument" title="internal link
word count: 0
descendant word count: 151
descendant count: 151">Boolean argument</a>, <a href=".#multiple-argument" title="internal link
word count: 0
descendant word count: 92
descendant count: 92"><code>multiple</code> argument</a></div><div class="nav"> <a href=".#h-arguments" title="parent header"><span class="fa-solid-900"></span> "<code>\H</code> arguments"</a><span class="sep"></span><a title="view all headers in a single page" href=".#h-child-argument"><span class="fa-solid-900"></span> nosplit</a><span class="sep"></span><a href="#toc"><span class="fa-solid-900"></span> toc</a><span class="sep"></span><span class="metrics"><span title="word count for this node + all descendants"><span class="fa-regular-400"></span> words: <span class="word-count-descendant">118</span></span></span></div></nav>
</div><div><span class="hide-hover"><a href="#_537"><span class="fa-solid-900"></span></a></span><div class="p" id="_537">This <a href=".#multiple-argument" title="internal link
word count: 0
descendant word count: 92
descendant count: 92"><code>multiple</code> argument</a> marks given IDs as being children of the current page.</div></div><div><span class="hide-hover"><a href="#_538"><span class="fa-solid-900"></span></a></span><div class="p" id="_538">The effect is the same as adding the <a href=".#x-child-argument" title="internal link
word count: 10
descendant word count: 363
descendant count: 232"><code>\x</code> <code>child</code> argument</a> argument to an under the header. Notably, such marked target IDs will show up on the <a href=".#tagged" title="internal link
word count: 0
descendant word count: 61
descendant count: 61">tagged</a> autogenerated <a href=".#header-metadata-section" title="internal link
word count: 3
descendant word count: 213
descendant count: 48">header metadata section</a>.</div></div><div><span class="hide-hover"><a href="#_539"><span class="fa-solid-900"></span></a></span><div class="p" id="_539">Example:
<div class="code" id="_540">
<pre><code>= Animal

== Mammal

=== Bat

=== Cat

== Wasp

== Flying animal
{child=bat}
{child=wasp}

\x[bat]

\x[wasp]
</code></pre></div>
renders exactly as:
<div class="code" id="_541">
<pre><code>= Animal

== Mammal

=== Bat

=== Cat

== Wasp

== Flying animal

\x[bat]{child}

\x[wasp]{child}
</code></pre></div></div></div><div><span class="hide-hover"><a href="#_542"><span class="fa-solid-900"></span></a></span><div class="p" id="_542">The header <code>child</code> syntax is generally preferred because at some point while editing the content of the header, you might accidentally remove mentions to e.g. <code>\x[bat]{child}</code>, and then the relationship would be lost.</div></div><div><span class="hide-hover"><a href="#_543"><span class="fa-solid-900"></span></a></span><div class="p" id="_543">The <a href=".#h-tag-argument" title="internal link
word count: 0
descendant word count: 132
descendant count: 132"><code>\H</code> <code>tag</code> argument</a> does the same as the <a href=".#x-child-argument" title="internal link
word count: 10
descendant word count: 363
descendant count: 232"><code>\x</code> <code>child</code> argument</a> but in the opposite direction.</div></div><div><span class="hide-hover"><a href="#toc"><span class="fa-solid-900"></span></a></span></div><div><span class="hide-hover"><a href="#ancestors"><span class="fa-solid-900"></span></a></span><h2 id="#ancestors"><a href="#ancestors">Ancestors</a></h2></div>
<div><ul>
<li><a href=".#h-arguments" title="internal link
word count: 32
descendant word count: 4k
descendant count: 0"><code>\H</code> arguments</a></li>
<li><a href=".#header" title="internal link
word count: 53
descendant word count: 5k
descendant count: 64">Header</a></li>
<li><a href=".#macro" title="internal link
word count: 155
descendant word count: 14k
descendant count: 14">Macro</a></li>
<li><a href="." title="internal link
word count: 296
descendant word count: 32k
descendant count: 234">OurBigBook</a></li>
</ul></div><div><span class="hide-hover"><a href="#incoming-links"><span class="fa-solid-900"></span></a></span><h2 id="incoming-links"><a href="#incoming-links">Incoming links</a></h2></div>
<div><ul>
<li><a href=".#features" title="internal link
word count: 0
descendant word count: 1k
descendant count: 1k">Features</a></li>
<li><a href=".#h-tag-argument" title="internal link
word count: 0
descendant word count: 132
descendant count: 132"><code>\H</code> <code>tag</code> argument</a></li>
<li><a href=".#multiple-argument" title="internal link
word count: 0
descendant word count: 92
descendant count: 92"><code>multiple</code> argument</a></li>
<li><a href=".#ourbigbook-json/lint-h-tag" title="internal link
word count: 0
descendant word count: 28
descendant count: 28"><code>lint</code> <code>h-tag</code></a></li>
<li><a href=".#secondary-children" title="internal link
word count: 0
descendant word count: 104
descendant count: 104">Secondary children</a></li>
<li><a href=".#x-child-argument" title="internal link
word count: 10
descendant word count: 363
descendant count: 232"><code>\x</code> <code>child</code> argument</a></li>
</ul></div></main>
<footer>
<div>License: <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> unless noted</div>
<div>Website source code: <a href="https://github.com/cirosantilli/ourbigbook">https://github.com/cirosantilli/ourbigbook</a></div>
<div>Website Git version: <a href="https://github.com/cirosantilli/ourbigbook/commit/72b4ad0343402d4c826196c7d9bc27ae17c31e1d">72b4ad0343402d4c826196c7d9bc27ae17c31e1d</a></div>
</footer>
<script>
<!-- Google Analytics, AKA selling my soul to Google for some backlinks. -->
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-47867706-1', 'auto');
ga('send', 'pageview');
</script>
<script src="dist/ourbigbook_runtime.js"></script>
<script>ourbigbook_runtime.ourbigbook_runtime()</script>
</body>
</html>
